from django.conf.urls import url
from learningPlanet import views

urlpatterns = [
    url(r'^returnJudgeList/', views.returnJudgeList, name='returnJudgeList'),  # 返回评论信息
    url(r'^deleteJudgeList/', views.deleteJudgeList, name='deleteJudgeList'),  # 删除评论信息
    url(r'^addJudgeList/', views.addJudgeList, name='addJudgeList'),  # 增加评论信息
    url(r'^doCall/', views.doCall, name='doCall'),  # 点赞
    url(r'^modifyBlog/(?P<blog_id>.*)/(?P<author_id>\d+)', views.modifyBlog, name='modifyBlog'),  # 修改博客
    url(r'^search/', views.search, name='search'),  # 搜索功能
    url(r'^collect/', views.collect, name='collect'),  # 收藏和取消收藏文章
    url(r'^(?P<blog_id>\d*)', views.index, name='index'),  # 学习星球首页

]
